import _http from '@/utils/http'

export default {
  confirmPassword(params, loading, headers) {
    return _http('post', {
      url: '/ums/user/confirmPassword',
      apiName: '登陆后确认密码-公司用户',
    }, params, loading, headers)
  },

  warehouseImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/warehouse/importTemplate',
      apiName: '入库模板下载',
    }, params, loading, headers)
  },

  diaoboImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/diaobo/importTemplate',
      apiName: '调拨模板下载',
    }, params, loading, headers)
  },

  tuikuImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/tuiku/importTemplate',
      apiName: '退库模板下载',
    }, params, loading, headers)
  },

  shouhuiImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/shouhui/importTemplate',
      apiName: '回拨模板下载',
    }, params, loading, headers)
  },

  activeImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/active/importTemplate',
      apiName: '激活模板下载',
    }, params, loading, headers)
  },

  chargeImportTemplate(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/yilian/charge/importTemplate',
      apiName: '充值模板下载',
    }, params, loading, headers)
  },

  settleImportTemplete(params, loading, headers) {
    return _http('post', {
      url: '/eas/manage/phone/settle/import-templete',
      apiName: '导入文件模板',
    }, params, loading, headers)
  },
}
